package com.yaolisheng.config;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author : yaols
 * Desc:
 * Date: 2022.12.13.15:03
 **/
@ConfigurationProperties(prefix = "schedule-task-timer")
@Configuration
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ScheduleTaskConfiguration {
    private Long timer;
    private String corn;
}
